(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/components/shangwu/zodiac-slide/index" ], {
    "2a48": function(e, n, t) {
        var r = t("4ea4");
        Object.defineProperty(n, "__esModule", {
            value: !0
        }), n.default = void 0;
        var o = r(t("9523")), a = t("26cb");
        function c(e, n) {
            var t = Object.keys(e);
            if (Object.getOwnPropertySymbols) {
                var r = Object.getOwnPropertySymbols(e);
                n && (r = r.filter(function(n) {
                    return Object.getOwnPropertyDescriptor(e, n).enumerable;
                })), t.push.apply(t, r);
            }
            return t;
        }
        function i(e) {
            for (var n = 1; n < arguments.length; n++) {
                var t = null != arguments[n] ? arguments[n] : {};
                n % 2 ? c(Object(t), !0).forEach(function(n) {
                    (0, o.default)(e, n, t[n]);
                }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : c(Object(t)).forEach(function(n) {
                    Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
                });
            }
            return e;
        }
        n.default = {
            name: "EnjoyBannerColor",
            props: {
                list: {
                    type: Array,
                    default: function() {
                        return [];
                    }
                }
            },
            data: function() {
                return {
                    currentIndex: 0
                };
            },
            computed: i({}, (0, a.mapState)({
                zodiacRecIndex: function(e) {
                    return e.shangwu.zodiacRecIndex;
                }
            })),
            methods: i(i({}, (0, a.mapMutations)([ "allotZodiacRecIndex" ])), {}, {
                swiperChange: function(e) {
                    var n = e.detail.current;
                    this.currentIndex = n, this.allotZodiacRecIndex(n), this.handleCommonBeacon("appreciation_animal_horizontalslide");
                },
                itemChange: function(e) {
                    this.currentIndex = e, this.allotZodiacRecIndex(this.currentIndex);
                },
                transition: function(e) {
                    switch (e) {
                      case "子鼠":
                        return "shu";

                      case "丑牛":
                        return "niu";

                      case "寅虎":
                        return "hu";

                      case "卯兔":
                        return "tu";

                      case "辰龙":
                        return "long";

                      case "巳蛇":
                        return "she";

                      case "午马":
                        return "ma";

                      case "未羊":
                        return "yang";

                      case "申猴":
                        return "hou";

                      case "酉鸡":
                        return "ji";

                      case "戌狗":
                        return "gou";

                      case "亥猪":
                        return "zhu";
                    }
                }
            })
        };
    },
    "56cb": function(e, n, t) {
        t.r(n);
        var r = t("e38d"), o = t("6ee2");
        for (var a in o) [ "default" ].indexOf(a) < 0 && function(e) {
            t.d(n, e, function() {
                return o[e];
            });
        }(a);
        t("ab9c");
        var c = t("f0c5"), i = Object(c.a)(o.default, r.b, r.c, !1, null, "47e15e20", null, !1, r.a, void 0);
        n.default = i.exports;
    },
    "6ee2": function(e, n, t) {
        t.r(n);
        var r = t("2a48"), o = t.n(r);
        for (var a in r) [ "default" ].indexOf(a) < 0 && function(e) {
            t.d(n, e, function() {
                return r[e];
            });
        }(a);
        n.default = o.a;
    },
    e38d: function(e, n, t) {
        t.d(n, "b", function() {
            return o;
        }), t.d(n, "c", function() {
            return a;
        }), t.d(n, "a", function() {
            return r;
        });
        var r = {
            tmIcon: function() {
                return Promise.all([ t.e("common/vendor"), t.e("components/tm-icon/index") ]).then(t.bind(null, "f4eb"));
            }
        }, o = function() {
            var e = this, n = (e.$createElement, e._self._c, e.__map(e.list, function(n, t) {
                return {
                    $orig: e.__get_orig(n),
                    m0: e.transition(n.name)
                };
            }));
            e.$mp.data = Object.assign({}, {
                $root: {
                    l0: n
                }
            });
        }, a = [];
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/components/shangwu/zodiac-slide/index-create-component", {
    "pages/components/shangwu/zodiac-slide/index-create-component": function(e, n, t) {
        t("543d").createComponent(t("56cb"));
    }
}, [ [ "pages/components/shangwu/zodiac-slide/index-create-component" ] ] ]);